package zhai.docking.alipay.domain.base.alipay;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import zhai.docking.alipay.constant.AlipayConstant;

/**
 * @author Created by 翟凤玺
 * @package zhai.docking.alipay.domain.base.alipay
 * @project-name zhai-docking-alipay
 * @description 基础-支付宝-如意IOT设备 设备绑定关系查询接口 入参
 * @create-datetime 2021/1/18 10:02
 */
@Data
public class BaseAlipayRuyiIotQueryIn {

    @ApiModelProperty(value = "应用类型，目前只支持小程序MINI_APP", required = true)
    @JSONField(name = "app_type")
    private String appType = AlipayConstant.IOT_RUYI_APP_TYPE;

    @ApiModelProperty(value = "小程序ID，当app_type为MINI_APP时，设置该值")
    @JSONField(name = "mini_app_id")
    private String miniAppId = AlipayConstant.IOT_RUYI_MINI_APP_ID;

    @ApiModelProperty(value = "应用ID，目前暂不使用，可不填")
    @JSONField(name = "application_id")
    private String applicationId;

    @ApiModelProperty(value = "可选项[SN,ID] SN-使用supplier_id、device_sn联合作为设备唯一识别标识 ID-使用biztid作为设备唯一识别标识", required = true)
    @JSONField(name = "device_id_type")
    private String deviceIdType;

    @ApiModelProperty(value = "设备ID：biztid")
    @JSONField(name = "biz_tid")
    private String bizTid;

    @ApiModelProperty(value = "设备供应商ID：supplierId")
    @JSONField(name = "supplier_id")
    private String supplierId;

    @ApiModelProperty(value = "设备序列号：SN")
    @JSONField(name = "device_sn")
    private String deviceSn;
}